]> dgit.raspbian.org Git - gnome-shell.git/commit
popupMenu: don't handle key presses directly if there are modifiers
authorRay Strode <rstrode@redhat.com>
Wed, 26 Oct 2016 14:46:21 +0000 (10:46 -0400)
committerRay Strode <rstrode@redhat.com>
Mon, 7 Nov 2016 19:01:23 +0000 (14:01 -0500)
commite33c68a415861b88ea4599171cc586451b525e20
tree8685ba52aacb2ba365f3308d9393256b0160adf9
parent97bd2242611a9f8cd4c0424b1db8c3508141e54d
popupMenu: don't handle key presses directly if there are modifiers

commit 1d58ea25ab6f0472bdeffc9170ece37d5dd71e64 changed the
popupMenu code to handle key presses on source actors directly.

This fixed keynav into the session gear menu at the login screen.

Unfortunately, it also causes spurious pop ups if a modifier happens
to be held down.

This commit checks for modifiers and short circuits the up front
key handling if any are found.

https://bugzilla.gnome.org/show_bug.cgi?id=740043
js/ui/popupMenu.js